import React from 'react';
import { Layout, Menu } from 'antd';
require('./style');

class Sider extends React.Component {
    constructor(props) {
        super(props);
        this.state = {}
    }

    componentDidMount() { }

    render() {
        return (
            <Layout.Sider
                className="rettc-layout-sider"
            >
                <Menu
                    mode="inline"
                    {
                    ...this.props
                    }
                >
                    {
                        // eslint-disable-next-line
                        this.props.children
                    }
                </Menu>
            </Layout.Sider>
        )
    }
}

export default Sider;